##### My (demuredemeanor) .inputrc
# Uses shiftwidth=4 for tabs; foldmarker={{{,}}} for folds;
# https://notabug.org/demure/dotfiles/
# legacy repo http://github.com/demure/dotfiles

### Completion Stuffs ### {{{
## Tab complete ignores case
set completion-ignore-case on
## Comp longest explicit match, then print remaining values
set show-all-if-ambiguous on
## With ignore on, will ignore diff between '-' and '_'
set completion-map-case on
## Disable more-like pager of completion list
set page-completions off
## Steps through list, can give n first
"\t": menu-complete
## Colored completion based on filetype
set colored-stats on
## When completing in middle of word, don't dupe matching text after word
set skip-completed-text on
## Show filetype info in completion suggestions, like ls -F output
set visible-stats on

## Shift-TAB to menu-complete backwards
# cf. http://www.tikirobot.net/wp/2006/03/29/reverse-menu-complete-in-bash/
#   \C-y:"\M--\C-i"

## Append symbol for file, in tab completion
set visible-stats on
### End Completion Stuffs ### }}}

### Keyboard ### {{{
"\e[3~": delete-char
"\e[A": history-search-backward
"\e[B": history-search-forward
### End Keyboard ### }}}

### History Stuffs ### {{{
## Ended up disabling these as the prompt got a bit wonky
#   set mark-modified-lines on
#   set history-preserve-point on
### End History Stuffs ### }}}

### Editing Mode ### {{{
## I prefer some of emacs key bindings as OS X uses them.
#   set editing-mode vi
#   set keymap vi-insert
#   vi-command vi-insert
### End Editing Mode ### }}}

### For Other Languages ### {{{
## Enable 8 bit input (doesn't clear 8th bit in chars it reads)
set meta-flag on
## Same flag...
set input-meta on
## Display chars' 8th bit set directly, instead of esc sequence
set output-meta on
## Prevent 8th bit strip
set convert-meta off
### End Other Languages ### }}}

### For Bell ### {{{
set bell-style audible
### End Bell ### }}}

### Testing ### {{{
    ## Add missing / when tab-completing symbolic links to dirs
#   set mark-symlinked-directories on
### End Testing ### }}}
